<template>
    <div class="right">
        <div class="right_top">
            <h3>{{nav}}</h3>
        </div>
        <div class="right_con">
            {{nav}} 的内容
        </div>
    </div>
</template>

<script>
export default {
    name:'navsonson',
    props:['nav']
}
</script>

<style>
.right {
    float: left;
    width: 100%;
    height: 400px;
    margin-left: 10px;
    /* background-color: red; */
}

.right_top {
    width: 100%;
    height: 70px;
    padding: 0 0 0 25px;
    font-size: 18px;
    line-height: 70px;
    /* background-color: #007acc; */
    border-bottom:solid 2px #eaeaea;
}

.right_con {
    margin-top: 20px;
    width: 100%;
    height: 300px;
    background-color: #d3eef2;
}
</style>